home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 June / PersonalComputerWorld-June2009-CoverdiscCD.iso / Software / Freeware / Adobe AIR 1.5.1 / AdobeAIRInstaller.exe / setup.swf / scripts / _gripperSkinStyle.as < prev    next >
Encoding:
Text File  |  2009-02-12  |  1.1 KB  |  38 lines

  1. package
  2. {
  3.    import mx.core.IFlexModuleFactory;
  4.    import mx.styles.CSSStyleDeclaration;
  5.    import mx.styles.StyleManager;
  6.    
  7.    public class _gripperSkinStyle
  8.    {
  9.       private static var _embed_css_gripper_up_png_1118668093:Class = _gripperSkinStyle__embed_css_gripper_up_png_1118668093;
  10.       
  11.       public function _gripperSkinStyle()
  12.       {
  13.          super();
  14.       }
  15.       
  16.       public static function init(param1:IFlexModuleFactory) : void
  17.       {
  18.          var fbs:IFlexModuleFactory = param1;
  19.          var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".gripperSkin");
  20.          if(!style)
  21.          {
  22.             style = new CSSStyleDeclaration();
  23.             StyleManager.setStyleDeclaration(".gripperSkin",style,false);
  24.          }
  25.          if(style.defaultFactory == null)
  26.          {
  27.             style.defaultFactory = function():void
  28.             {
  29.                this.upSkin = _embed_css_gripper_up_png_1118668093;
  30.                this.overSkin = _embed_css_gripper_up_png_1118668093;
  31.                this.downSkin = _embed_css_gripper_up_png_1118668093;
  32.             };
  33.          }
  34.       }
  35.    }
  36. }
  37.  
  38.